/*#include <stdio.h> 
int main()
{
    int i;
    for (i = 3; i < 100; i += 3) {
        printf("%d ", i);
    }
    return 0;
}
*/

#include <bits/stdc++.h>
using namespace std;
int main()
{
	int a[3] = { 0 };
	int n = 3;
	for (int i = 0; i < n; i++)
	{
		scanf("%d", &a[i]);
	}
	sort(a,a+n,greater<int> ());
	for (int i = 0; i < n; i++)
	{
		cout << a[i] << " ";
	}
	return 0;
}

